export * from '@ui/vue/api'
import { magicPostData } from '@ui/vue/api'
export const saveTydm = (data: any) => {
  return magicPostData(
    '/magic/YY101-tydm/i-tydmdy',
    data
  )
}

export const deleteTydm = (data: any) => {
  return magicPostData(
    '/magic/YY101-tydm/d-tydmdy',
    data
  )
}

export const getFlmlList = (data: any) => {
  return magicPostData(
    '/magic/YY101-tydm/s-tydmfl',
    data
  )
}
export const getCodeList = (data: any) => {
  return magicPostData(
    '/magic/YY101-tydm/s-tydmml',
    data
  )
}

export const getHismlList = (data: any) => {
  return magicPostData(
    '/magic/YY101-tydm/s-hisml',
    data,

  )
}
export const getTydmSjtb = (data: any) => {
  return magicPostData(
    '/magic/YY101-tydm/i-tydmsjtb',
    data,

  )
}
